<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    session.removeAttribute("shopinfo");
%>

<!DOCTYPE HTML>
<html>
<head>
    <base href="<%=basePath%>">
    <title>购物车</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

    <link href="css/ShopCar_Css.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/public.js"></script>
    <script type="text/javascript" src="js/shop/shopcart.js"></script>
    <script>
        function back() {
            window.history.back(-1);
        }
    </script>
</head>

<body>
<form id="shopcartfrm" method="post">
    <jsp:include page="/public.jsp"/>
    <input type="hidden" id="shopinfo" name="shopinfo"/>
</form>
<!-- 固定的title 样式 -->
<%--<header class="header">--%>
    <%--<div align="left" class="a">--%>
        <%--<img src="img/arrow_eft_circle.png" style="padding: 10px;height: 28px; width: 28px;" onclick="back()"/>--%>
    <%--</div>--%>

    <%--<div align="center" class="a">--%>
        <%--<span style="padding: 15px;font-size: 23px;color: white;">购物车</span>--%>
    <%--</div>--%>

    <%--<div align="right" class="a">--%>
        <%--<img src="img/more.png" style="padding: 10px;height: 28px;width: 28px;"/>--%>
    <%--</div>--%>
<%--</header>--%>

<!-- 店铺名称 -->
<div class="store_name clearboth">
    <div style="float: left;">
        <img src="img/logo_icon.png" class="add_img"/>
        <span>摘记良品</span>
    </div>
    <div style="float: right;">
        <span class="right_img" id="modify_save" onclick="modify_save();">编辑</span>
    </div>
    <hr style="height: 1px; width: 100%; background-color: #f4f4f4; border: none;"/>
</div>

<!-- 页面没有数据加载div -->
<div style="text-align: center;margin-top: 35%;display: none" class="clearboth"  id="not_data">
    <img src="img/data_null.png" style="height: 140px;width: 116px;" />
</div>

<div class="clearboth"></div>

<!-- 列表展示购物车 -->
<div style="margin-bottom: 50px;margin-top: 50px;">
<span id="shopcart" class="clearboth"></span>
</div>


<!-- 底部按钮 -->
<footer class="footer">
    <hr style="height: 1px;  background-color: #f4f4f4; border: none;"/>

    <div class="div_left">
        <div class="left">
            <input type="radio" class="radios" onclick="select_all(this, true);"/>
            <span class="left_span">全选</span>
        </div>

        <div class="right" id="right_div">
            <span class="right_span">合计:</span>
            <span class="right_money" id="total_money">￥ 0.00</span>
        </div>
    </div>

    <div class="calculate">
        <span class="calculate_span" id="calculate_span" onclick="calculate_del();">结算</span>
    </div>
</footer>
<jsp:include page="/files/public_hint.jsp"/>
<jsp:include page="/files/public_cofirm.jsp"/>
</body>
</html>